Skip to content

Fix card template pairs rename#14

Merged
abunsen merged 2 commits intomainfrom
fix-card-template-pairs-rename
Apr 15, 2026
Merged

Fix card template pairs rename#14
abunsen merged 2 commits intomainfrom
fix-card-template-pairs-rename

Conversation

@abunsen
Copy link
Copy Markdown
Contributor

@abunsen abunsen commented Apr 15, 2026

No description provided.

abunsen added 2 commits April 15, 2026 14:26
Rails PR #1396 renamed /v1/console/pass-template-pairs to
/v1/console/card-template-pairs and the JSON response key from
pass_template_pairs to card_template_pairs. Update the SDK to match.

Public API symbols (ListPassTemplatePairs, PassTemplatePair,
PassTemplatePairsResponse, ListPassTemplatePairsParams, the
PassTemplatePairs response field) are preserved to avoid breaking
customer code — only the underlying URL and JSON struct tag change.

- URL: /v1/console/pass-template-pairs -> /v1/console/card-template-pairs
- JSON tag: pass_template_pairs -> card_template_pairs
- Add ex_id fields on PassTemplatePair and TemplateInfo
- Add CreatePassTemplatePair(ctx, params) method for POST /v1/console/card-template-pairs
- Add CreatePassTemplatePairParams with name, apple_card_template_id,
  google_card_template_id
- Update README feature matrix; add test coverage for list ex_id fields
  and new create endpoint
- Bump client version to 0.3.0
@abunsen abunsen merged commit 3e534a2 into main Apr 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant